package com.yunxi.sys.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sys.pojo.InfomationVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2019-09-17
 */
public interface InfomationDubboService {

    InfomationVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(InfomationVO infomationVO,LoginInfo loginInfo) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<InfomationVO> findPageByVO(InfomationVO infomationVO, Integer pageNum, Integer pageSize,LoginInfo loginInfo) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<InfomationVO> infomationVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(InfomationVO infomationVO);
}
